org.jboss.virtual.plugins.context.memory
Class MemoryContext

java.lang.Object
  extended by org.jboss.virtual.plugins.context.AbstractVFSContext
      extended by org.jboss.virtual.plugins.context.memory.MemoryContext
All Implemented Interfaces:
java.io.Serializable, VFSContext

public class MemoryContext
extends AbstractVFSContext
implements java.io.Serializable

Virtual memory context.

Version:
$Revision: 1.1 $
Author:
Kabir Khan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
log
 
Constructor Summary
protected MemoryContext(java.net.URL url)
           
 
Method Summary
 VirtualFileHandler getRoot()
          Return the root virtual file
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
equals, findChild, getChildren, getOptions, getRootURI, getVFS, hashCode, toString, visit, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoryContext

protected MemoryContext(java.net.URL url)
                 throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException
Method Detail

getRoot

public VirtualFileHandler getRoot()
                           throws java.io.IOException
Description copied from interface: VFSContext
Return the root virtual file

Specified by:
getRoot in interface VFSContext
Returns:
the root
Throws:
java.io.IOException - for any problem accessing the VFS